package main

import (
	"fmt"
	"math"
)

// 强制类型转换
func triangle() {
	var a, b int = 3, 4
	var c int
	c = int(math.Sqrt(float64(a*a + b*b)))

	fmt.Println(c)
}
func main() {
	triangle()
}
